/**
 * 接口列表文件
 */
let token = uni.getStorageSync('token');
// console.log(token)
export default {

	/** 公共 ↓ **/
	common: {
		login: {
			url: "/app3/consumer/loginConsumer",
			auth: false,
			method: "POST",
			// desc: '登陆',end
		},
		lgout: {
			url: "/app3/consumer/quit",
			auth: false,
			method: "POST",
			header: {
				'Authorization': token,
				'content-type': 'application/json'
			},
			// desc: '退出',end
		},
		cancellation: {
			url: "/app3/consumer/logout",
			auth: false,
			method: "GET"
			// desc: '注销',end
		},
		isNotNull:{
			url: "/app2/issue/isNotNull",
			auth: false,
			method: "POST"
			// desc: '查询数据是否为空',end
		},
		changePhone:{
			url: "/app3/consumer/changePhone",
			auth: false,
			method: "GET",
			// desc: '修改绑定手机号',end
		},
		forgetPassword: {
			url: "/app3/consumer/forgetPassword",
			auth: false,
			method: "POST",
			// desc: '忘记密码',end
		},
		getYZM: {
			url: "/app3/consumer/sendMsg",
			auth: false,
			method: "GET",
			// desc: '获取验证码',end
		},
		getInfo: {
			url: '/app3/consumer/queryConsumerInfo',
			auth: false,
			method: "POST",
			// desc: '用户信息',end
		},
		subInfo: {
			url: '/app3/consumer/updateConsumerInfo',
			auth: false,
			method: "GET",
			// desc: '更新用户信息',end
		},
		buildIMG: {
			url: '/app3/inspectionMan/queryInspectionPictures',
			auth: false,
			method: "GET",
			// desc: '施工效果图',end
		},
		getDictCode: {
			url: '/app2/utils/getDictCode',
			auth: false,
			method: "GET",
			// desc: '获取问题类型',end
		},
		getSGlist: {
			url: '/app2/issue/queryIssues',
			auth: false,
			method: "POST",
			// desc: '查询整改问题列表 工长端 问题列表详情页面',end
		},
		getGZassess: {
			url: '/app3/foreman/queryForemanComments',
			auth: false,
			method: "GET",
			// desc: '工长评价中心',end
		},
		getXJassess: {
			url: '/app3/inspectionMan/queryInspectionManComments',
			auth: false,
			method: "GET",
			// desc: '巡检评价中心',end
		},
		oldpassword: {
			url: '/app3/consumer/changePasswordByPhone',
			auth: false,
			method: "POST",
			// desc: '修改旧密码',end
		},
		delayBe: {
			url: '/app1/calculation/mydelay',
			auth: false,
			method: "GET",
			// desc: '延期原因 列表',end
		},
		deleteC: {
			url: '/app2/issue/updateRectification',
			auth: false,
			method: "POST",
			// desc: '删除记录(用户不可见,但巡检更改为已整改)/确认共用',end
		},
		editstandard: {
			url: '/app1/calculation/editstandard',
			auth: false,
			method: "GET",
			// desc: '获取要编辑的施工计划表',end
		},
		deleteprocedure: {
			url: '/app1/calculation/deleteprocedure',
			auth: false,
			method: "GET",
			// desc: '删除工序',end
		},
		getInfolist: {
			url: '/app3/inspectionMan/viewOrders',
			auth: false,
			method: "GET",
			// desc: '项目详情 获取用户数据'
		},
		insertacceptan: {
			url: '/app1/acceptance/addsumAcceptan',
			auth: false,
			method: "POST",
			// desc: 'APP插入验收服务信息1'
		},
		mobilizationId: {
			url: '/app1/mobilization/mobilizationId',
			auth: false,
			method: "GET",
			// desc: '根据mobilization获取我的主材采购及进场'
		},
		minePrevious: {
			url: '/app3/inspectionMan/statisticsInspectionFrequency',
			auth: false,
			method: "GET",
			// desc: '个人中心-往期巡检'
		},
		isOpen:{
			url: '/app1/acceptance/isOpen',
			auth: false,
			method: "GET",
			// desc: '个人中心-往期巡检'
		}
	},
	ours: {
		getYZM: {
			url: "/app3/consumer/sendMsg",
			auth: false,
			method: "GET",
			// desc: '获取验证码',end
		},
		queryFeedback: {
			url: "/app3/feedback/queryFeedback",
			auth: false,
			method: "POST",
			// desc: '反馈记录',end
		},
		saveFeedback: {
			url: "/app3/feedback/saveFeedback",
			auth: false,
			method: "GET",
			// desc: '提交意见反馈',end
		},
		updateinfo: {
			url: "/app3/consumer/updateConsumerInfo",
			auth: false,
			method: "GET",
			// desc: '更新用户信息',end
		},
		region: {
			url: "/app2/region/queryRegions",
			auth: false,
			method: "POST",
			// desc: '省市区列表',end
		},
		setAddr: {
			url: '/app3/inspectionMan/setArea',
			auth: false,
			method: "GET",
			// desc: '设置工作地点',end
		},
		orderSet: {
			url: '/app3/inspectionMan/saveTakeOrderStatus',
			auth: false,
			method: "POST",
			// desc: '接单设置',end
		},
		queryQuestions: {
			url: '/app3/questions/queryQuestions',
			auth: false,
			method: "POST",
			// desc: '查询常见问题列表',end
		},
		viewQuestions: {
			url: '/app3/questions/viewQuestions',
			auth: false,
			method: "GET",
			// desc: '查询常见问题列表',end
		},
	},
	other: {
		ordersidQualified: {
			url: '/app1/acceptance/ordersidQualified',
			auth: false,
			method: "get",
			// desc: '省市区列表',end
		},
		getAcceptanceServiceTypeIdS: {
			url: '/app1/acceptance/getAcceptanceServiceTypeIdS',
			auth: false,
			method: "get",
			// desc: '省市区列表',end
		},
		
		getAddress: {
			url: '/app2/region/queryRegions',
			auth: false,
			method: "POST",
			// desc: '省市区列表',end
		},
		upload: {
			url: '/app/upload/uploadMuch',
			auth: false,
			method: "POST",
			// desc: '上传多个文件',end
		},
		uploadD: {
			url: '/app/upload/uploadOne',
			auth: false,
			method: "POST",

			// desc: '上传文件',end
		},
		subAcceptance: {
			url: '/app1/acceptance/addsumAcceptan',
			auth: false,
			method: "POST",
			// desc: '提交验收详情',end
		},
		Generate: {
			url: '/app1/calculation/addStandard',
			auth: false,
			method: "POST",
			// desc: '生成标准计划',end
		},
		updatequality: {
			url: '/app1/acceptance/updatequality',
			auth: false,
			method: "get",
		},

		querynextProcess: {
			url: '/app3/inspectionMan/queryNextInspectionProcess',
			auth: false,
			method: "GET",
			// desc: '查询下次巡检工序',end
		},
		updatemyconstruc: {
			url: '/app1/calculation/updatemyconstruc',
			auth: false,
			method: "GET",
			// desc: '更改工序获取施工计划项目详情',end
		},
		myprocedureup: {
			url: '/app1/calculation/myprocedureup',
			auth: false,
			method: "GET",
			// desc: '巡检工序更新更改提交-更改了预计时间',end
		},
		mydelayup: {
			url: '/app1/calculation/mydelayup',
			auth: false,
			method: "POST",
			// desc: '巡检工序延期入库-进度更新点击保存',end
		},
		mymaterial: {
			url: '/app1/calculation/mymaterial',
			auth: false,
			method: "GET",
			// desc: '获取我的主材采购及进场',end
		},
		updatematerial: {
			url: '/app1/calculation/updatematerial',
			auth: false,
			method: "POST",
			// desc: '修改我的主材采购及进进场管理',end
		},
		spection: {
			url: '/app3/inspectionMan/statisticsInspection',
			auth: false,
			method: "GET",
			// desc: '个人中心-统计巡检次数/评分',end
		},
		ordersidS:{
			url: '/app1/acceptance/ordersidS',
			auth: false,
			method: "GET",
			// desc: '计算百分比',end
		}
	},
	foreman: {
		getlist: {
			url: '/app3/foreman/queryOrdersByForeman',
			auth: false,
			method: "GET",
			// desc: '工长订单列表',end
		},
		ForemanIssues: {
			url: '/app2/issue/queryForemanIssues',
			auth: false,
			method: "POST",
			// desc: '工长施工问题列表',end
		},
		queryComments: {
			url: '/app2/issue/queryComments',
			auth: false,
			method: "POST",
			// desc: '查询问题/回复信息',end
		},
		ConstructionEX: {
			url: '',
			auth: false,
			method: "POST",
			// desc: '施工问题详情列表',end
		},
		setConsumerRemark: {
			url: '/app3/foreman/setConsumerRemark',
			auth: false,
			method: "GET",
			// desc: '工长填写业主备注名称',end
		},
		setInspectionConsumerRemark: {
			url: '/app3/inspectionMan/setInspectionConsumerRemark',
			auth: false,
			method: "GET",
			// desc: '巡检填写业主备注名称',end
		}
	},
	lcheck:{
		querylssues:{
			url: '/app2/issue/queryAllIssues',
			auth:true,
			method: "POST",
		},
		queryAllIssuesByOrderId:{
			url: '/app2/issue/queryAllIssuesByOrderId',
			auth:true,
			method: "POST",
		}
	},
	onsite: {
		getvideolist: {
			url: '/app3/inspectionMan/queryInspectionVideos',
			auth: false,
			method: "GET",
			// desc: '查询房屋形象进程视频',end
		},
		upvideos: {
			url: '/app3/inspectionMan/saveInspectionVideos',
			auth: false,
			method: "GET",
			// desc: '查询房屋形象进程视频',end
		},
		deleVideo: {
			url: '/app3/inspectionMan/deleteInspectionVideos',
			auth: false,
			method: "GET",
			// desc: '删除房屋形象进程视频',end
		},
		acceptance: {
			url: '/app1/acceptance/ordersid',
			auth: false,
			method: "GET",
			// desc: '巡检端 验收详情',end
		},
		orderlist: {
			url: '/app3/inspectionMan/queryOrdersByInspectionMan',
			auth: false,
			method: "GET",
			// desc: '巡检端订单列表',end
		},
		replay: {
			url: '/app2/issue/updateReply',
			auth: false,
			method: "POST",
			// desc: '回复工长',end
		},
		getXJWTlist: {
			url: '/app2/issue/queryIssues',
			auth: false,
			method: "POST",
			// desc: '项目详情-巡检服务 巡检问题',end
		},
		addPatrol: {
			url: '/app2/issue/insertIssues',
			auth: false,
			method: "POST",
			// desc: '项目详情-巡检服务 新增巡检问题',end
		},
		seePatrol: {
			url: '/app3/orders/queryInspectionFrequency',
			auth: false,
			method: "GET",
			// desc: '查看往期巡检',end
		},
		getprocedure: {
			url: '/app3/inspectionMan/queryProcess',
			auth: false,
			method: "POST",
			// desc: '查询巡检工序',end
		},
		nextPatrol: {
			url: '/app3/inspectionMan/saveNextInspection',
			auth: false,
			method: "GET",
			// desc: '填写下次巡检信息',end
		},
		schedule: {
			url: '/app1/calculation/myconstruc',
			auth: false,
			method: "GET",
			// desc: '获取施工计划项目详情',end
		},

	},
	version: {
		query: {
			url: '/app3/consumer/queryVersion',
			auth: false,
			method: "GET",
			// desc: '进度更新',end
		},
		saveYSZJ: {
			url: '/app1/acceptancesummary',
			auth: false,
			method: "POST",
			// desc: '保存验收总结报告',end
		},
		updatetime: {
			url: '/app1/acceptance/updateestimateTime',
			auth: false,
			method: "GET",
			// desc: '更改预约时间',end
		},
		updatequality: {
			url: '/app1/acceptancedetails',
			auth: false,
			method: "POST",
			// desc: '巡检端插入问题详情',end
		},
		getAcceptanceServiceTypeId: {
			url: '/app1/acceptance/getAcceptanceServiceTypeId',
			auth: false,
			method: "GET",
			// desc: '巡检端查询类目名称',end
		}
	},
	supplement: {
		lastInspectionFrequency: {
			url: '/app3/inspectionMan/lastInspectionFrequency',
			auth: false,
			method: "GET",
			// desc: '巡检订单最后一次巡检完成',end
		},
		upOrdersId: {
			url: '/app1/acceptance/upOrdersId',
			auth: false,
			method: "GET",
			// desc: '验收点击完成报告',end
		},
	},
	iwallet: {
		getlist: {
			url: '/app3/foremanAmountBook/queryForemanAmountBookList',
			auth: false,
			method: "GET",
			// desc: '账簿列表',end
		},
		addnew: {
			url: '/app3/foremanAmountBook/insertForemanAmountBook',
			auth: false,
			method: "POST",
			// desc: '新建账簿',end
		},
		viewForemanAmountBook: {
			url: '/app3/foremanAmountBook/viewForemanAmountBook',
			auth: false,
			method: "GET",
			// desc: '查看账簿详情',end
		},
		editForemanAmountBook: {
			url: '/app3/foremanAmountBook/editForemanAmountBook',
			auth: false,
			method: "POST",
			// desc: '编辑账簿',end
		}
	},
	message:{
	  article: {
	  	url: '/app3/inspectionMessage/queryNotice',
	  	auth: false,
	  	method: 'GET'
	  },
	  materialInformationId: {
	  	url: '/app1/information/materialInformationId',
	  	auth: true,
	  	method: 'GET'
	  },
	  queryInspectionMessage: {
	  	url: '/app3/inspectionMessage/queryInspectionMessage',
	  	auth: true,
	  	method: 'GET'
	  },
	  deleteMessageById: {
	  	url: '/app3/inspectionMessage/deleteMessageById',
	  	auth: true,
	  	method: 'GET'
	  },
	  deleteAllInspectionMessage: {
	  	url: '/app3/inspectionMessage/deleteAllInspectionMessage',
	  	auth: true,
	  	method: 'POST'
	  },
	  queryOrderMessage: {
	  	url: '/app3/inspectionMessage/queryOrderMessage',
	  	auth: true,
	  	method: 'GET'
	  },
	  articleList: {
	  	url: '/app1/information/articleList',
	  	auth: true,
	  	method: 'GET'
	  },
	  articleIdDelete: {
	  	url: '/app3/inspectionMessage/deleteConsumerNoticeById',
	  	auth: true,
	  	method: 'GET'
	  },
	  empty: {
	  	url: '/app1/information/empty',
	  	auth: true,
	  	method: 'GET'
	  },
	   infolist: {
	   	url: '/app1/information/getList',
	   	auth: true,
	   	method: 'GET'
	   },
	   deleteConsumerAllNotice: {
	   	url: '/app3/inspectionMessage/deleteConsumerAllNotice',
	   	auth: true,
	   	method: 'POST'
	   },
	   viewNotice: {
	   	url: '/app3/inspectionMessage/viewNotice',
	   	auth: true,
	   	method: 'GET'
	   },
	 
	},
	harryroom: {
		deleteForemanreply:{
			url: '/app1/calculation/deleteForemanreply',
			auth: false,
			method: "GET",
			// desc: '删除工长回复延期',end
		},
		queryInspectionOrders: {
			url: '/app3/orders/queryInspectionOrders',
			auth: false,
			method: "GET",
			// desc: '新建账簿',end
		},
		foremanreply:{
			url: '/app1/calculation/foremanreply',
			auth: false,
			method: "GET",
			// desc: '工长回复延期',end
		}
	},
	




};
